Learn R Programming

synbreed (version 0.9-2)

[.relationshipMatrix: Extract or replace part of relationship matrix

Description

Extract or replace part of an object of class relationshipMatrix.

Usage

## S3 method for class 'relationshipMatrix':
[(x,\dots)

Arguments

x
object of class ''relationshipMatrix''
...
indices

Examples

Run this code
data(maize)
U <- kin(codeGeno(maize),ret="realized")
U[1:3,1:3]

Run the code above in your browser using DataLab